import request from '@/utils/request'

export const postLogin = (data)=>{
    return  request.post('/weappUser/login',data)
}

export const getUserinfo = (data)=>{
    return  request.get(`/weappUser/userinfo?id=${data.id}`)
}

export const postUpdateInfo = (data)=>{
    return  request.post('/weappUser/updateInfo',data)
}